home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / C / Applications / Moscow ML 1.42 / examples / mls / Makefile next >
Encoding:
Makefile  |  1997-08-18  |  492 b   |  35 lines  |  [TEXT/R*ch]

  1. # Unix Makefile for mls
  2.  
  3. MOSMLHOME=${HOME}/mosml
  4. MOSMLTOOLS=camlrunm $(MOSMLHOME)/tools
  5. MOSMLC=mosmlc -c
  6. MOSMLL=mosmlc 
  7.  
  8. .SUFFIXES :
  9. .SUFFIXES : .sig .sml .ui .uo
  10.  
  11. all: mls
  12.  
  13. mls: mls.uo
  14.     $(MOSMLL) -o mls mls.uo
  15.  
  16. clean:
  17.     rm -f *.ui
  18.     rm -f *.uo
  19.     rm -f Makefile.bak
  20.     rm -f mls
  21.  
  22. .sig.ui:
  23.     $(MOSMLC) $<
  24.  
  25. .sml.uo:
  26.     $(MOSMLC) $<
  27.  
  28. depend: 
  29.     rm -f Makefile.bak
  30.     mv Makefile Makefile.bak
  31.     $(MOSMLTOOLS)/cutdeps < Makefile.bak > Makefile
  32.     $(MOSMLTOOLS)/mosmldep >> Makefile
  33.  
  34. ### DO NOT DELETE THIS LINE
  35.